Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

QTVREnableViewAnimation

You can use the QTVREnableViewAnimation function to enable or disable view animation for an object node.

OSErr QTVREnableViewAnimation (QTVRInstance qtvr, Boolean enable);
qtvr
An instance of a QuickTime VR movie.
enable
A Boolean value that indicates whether to enable ( true ) or disable ( false ) view animation for the specified object node.
function result
A result code.

DESCRIPTION

The QTVREnableViewAnimation function enables or disables the view animation state for the object node specified by the qtvr parameter, according to the value of the enable parameter.

SPECIAL CONSIDERATIONS

QTVREnableViewAnimation is valid only for object nodes.

You should use QTVREnableViewAnimation instead of standard QuickTime functions to control object animation.

SEE ALSO

Use QTVRGetViewAnimation (link) to get the current state of view animation for an object node.


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |